package com.mytrip.model;

public class TripPlan extends BaseModelAdapter{
	private static final long serialVersionUID = -9112447376051769177L;

private TripPlanFlight flight;
    
    private TripPlanHotel hotel;
    
    private TripPlanMeeting meeting;
    
    private TripPlanNote note;
    
    public static final String TYPE_FLIGHT = "1";
    
    public static final String TYPE_HOTEL = "2";
    
    public static final String TYPE_MEETING = "3";
    
    public static final String TYPE_NOTE = "4";
    
    public static final Integer NOTIFY_STATUS_INIT=0;
    
    public static final Integer NOTIFY_STATUS_WAIT=1;
    
    public static final Integer NOTIFY_STATUS_FINISH=2;

    public TripPlanFlight getFlight(){
		return flight;
	}

	public void setFlight(TripPlanFlight flight){
		this.flight = flight;
	}

	public TripPlanHotel getHotel(){
		return hotel;
	}

	public void setHotel(TripPlanHotel hotel){
		this.hotel = hotel;
	}

	public TripPlanMeeting getMeeting(){
		return meeting;
	}

	public void setMeeting(TripPlanMeeting meeting){
		this.meeting = meeting;
	}

	public TripPlanNote getNote(){
		return note;
	}

	public void setNote(TripPlanNote note){
		this.note = note;
	}

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column trip_plan.id
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    private Integer id;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column trip_plan.tid
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    private Integer tid;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column trip_plan.type
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    private String type;

    /**
     * This field was generated by Apache iBATIS ibator.
     * This field corresponds to the database column trip_plan.notify_status
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    private Integer notifyStatus;

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method returns the value of the database column trip_plan.id
     *
     * @return the value of trip_plan.id
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method sets the value of the database column trip_plan.id
     *
     * @param id the value for trip_plan.id
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method returns the value of the database column trip_plan.tid
     *
     * @return the value of trip_plan.tid
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    public Integer getTid() {
        return tid;
    }

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method sets the value of the database column trip_plan.tid
     *
     * @param tid the value for trip_plan.tid
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    public void setTid(Integer tid) {
        this.tid = tid;
    }

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method returns the value of the database column trip_plan.type
     *
     * @return the value of trip_plan.type
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    public String getType() {
        return type;
    }

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method sets the value of the database column trip_plan.type
     *
     * @param type the value for trip_plan.type
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method returns the value of the database column trip_plan.notify_status
     *
     * @return the value of trip_plan.notify_status
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    public Integer getNotifyStatus() {
        return notifyStatus;
    }

    /**
     * This method was generated by Apache iBATIS ibator.
     * This method sets the value of the database column trip_plan.notify_status
     *
     * @param notifyStatus the value for trip_plan.notify_status
     *
     * @ibatorgenerated Wed Feb 15 21:18:54 CST 2012
     */
    public void setNotifyStatus(Integer notifyStatus) {
        this.notifyStatus = notifyStatus;
    }
}